const api = {
	state: {
		api: {
			//首页
			api_v1_getAppConfig: "/api/v1/getAppConfig",//获取App相关配置
			api_v1_scheduleLive: "/api/v1/scheduleLive",//热门
			api_v1_fbScore_matchImmediate: "/api/v1/fbScore/matchImmediate",//足球-即时/进行
			api_v1_fbScore_matchSchedule: "/api/v1/fbScore/matchSchedule",//足球-赛程
			api_v1_fbScore_matchFruit: "/api/v1/fbScore/matchFruit",//足球-赛果
			api_v1_bkScore_matchImmediate: "/api/v1/bkScore/matchImmediate",//篮球-即时/进行
			api_v1_bkScore_matchSchedule: "/api/v1/bkScore/matchSchedule",//篮球-赛程
			api_v1_bkScore_matchFruit: "/api/v1/bkScore/matchFruit",//篮球-赛果
			//足球
			api_v1_fbdata_matchInfo: "/api/v1/fbdata/matchInfo",//基本信息
			api_v1_fbdata_matchDetail: "/api/v1/fbdata/matchDetail",//概况
			api_v1_fbdata_matchLineup: "/api/v1/fbdata/matchLineup",//阵容
			api_v1_fbdata_matchAnalysis: "/api/v1/fbdata/matchAnalysis",//交锋
			api_v1_fbdata_matchOddsEuro: "/api/v1/fbdata/matchOddsEuro",//数据
			api_v1_fbdata_matchOdds: "/api/v1/fbdata/matchOdds",//数据-让球
			api_v1_fbdata_matchOddsHistory: "/api/v1/fbdata/matchOddsHistory",//数据-让球-详情
			api_v1_fbdata_matchOddsEuroHistory: "/api/v1/fbdata/matchOddsEuroHistory",//数据-让球-详情-胜平负
			
			//篮球
			api_v1_bkdata_matchInfo: "/api/v1/bkdata/matchInfo",//基本信息
			api_v1_bkdata_matchDetail: "/api/v1/bkdata/matchDetail",//概况
			api_v1_bkdata_matchLineup: "/api/v1/bkdata/matchLineup",//阵容
			api_v1_bkdata_matchAnalysis: "/api/v1/bkdata/matchAnalysis",//交锋
			api_v1_bkdata_matchOddsEuro: "/api/v1/bkdata/matchOddsEuro",//数据
			api_v1_bkdata_matchOdds: "/api/v1/bkdata/matchOdds",//数据-让球
			api_v1_bkdata_matchOddsHistory: "/api/v1/bkdata/matchOddsHistory",//数据-让球-详情
			api_v1_bkdata_matchOddsEuroHistory: "/api/v1/bkdata/matchOddsEuroHistory",//数据-让球-详情-胜平负
			
			//社区
			api_v1_article_channel: "/api/v1/article/channel",//资讯栏目
			api_v1_article_lists: "/api/v1/article/lists",//栏目资讯列表
			api_v1_article_detail: "/api/v1/article/detail",//详情
			
			// 榜单
			api_v1_recommend_rankPopularity: "/api/v1/recommend/rankPopularity",//人气榜
			api_v1_recommend_rankList: "/api/v1/recommend/rankList",//周榜、月榜
			api_v1_recommend_rankWins: "/api/v1/recommend/rankWins",//连红
			
			//登录
			api_v1_loginSms: "/api/v1/loginSms",//手机短信验证码登录
			api_v1_sendSms: "/api/v1/sendSms",//发送手机验证码
			api_v1_user_getInfo: "/api/v1/user/getInfo",//获取用户信息
			api_v1_loginForGoogle: "/api/v1/loginForGoogle",//谷歌登录
			
			//获取单页内容配置
			api_v1_getPageContent: "/api/v1/getPageContent",//获取单页内容配置
			//大转盘
			api_v1_turntable_prizes: "/api/v1/turntable/prizes",//获取奖品配置
			api_v1_turntable_latestPrize: "/api/v1/turntable/latestPrize",//最新20个抽奖信息
			api_v1_turntable_todaySendNum: "/api/v1/turntable/todaySendNum",//今日剩余抽奖次数
			//参加预测
			api_v1_recommend_matchLists: "/api/v1/recommend/matchLists",//推荐赛事列表
			api_v1_recommend_expertHomepage: "/api/v1/recommend/expertHomepage",//用户个人主页
			api_v1_recommend_expertHistoryFact: "/api/v1/recommend/expertHistoryFact",//个人主页-历史预测分页
			api_v1_recommend_matchInfo: "/api/v1/recommend/matchInfo",//推荐赛事数据
			api_v1_recommend_release: "/api/v1/recommend/release",//发布推荐
			api_v1_user_attention: "/api/v1/user/attention",//用户关注/取消关注
			api_v1_refreshToken: "/api/v1/refreshToken",//用户刷新续签登录token
			//我的关注
			api_v1_user_attentionRecemmend: "/api/v1/user/attentionRecemmend",//我的关注-在售预测
			api_v1_user_attentionUserList: "/api/v1/user/attentionUserList",//我的关注-专家
			api_v1_user_getAttentionUids: "/api/v1/user/getAttentionUids",//获取已关注的用户id列表
			
			//预测订单
			api_v1_user_recommendBuylog: "/api/v1/user/recommendBuylog",//推荐购买记录
			//预测详情
			api_v1_recommend_detail: "/api/v1/recommend/detail",//预测详情页
			api_v1_recommend_checkBuy: "/api/v1/recommend/checkBuy",//预测查看购买
			//预测
			api_v1_fbdata_matchRecommend: "/api/v1/fbdata/matchRecommend",//足球-预测
			api_v1_bkdata_matchRecommend: "/api/v1/bkdata/matchRecommend",//篮球-预测
			
			//充值
			api_v1_order_getRechargeConf: "/api/v1/order/getRechargeConf",//获取充值配置
			api_v1_order_recharge: "/api/v1/order/recharge",//发起充值
			//交易明细
			api_v1_order_accountLog: "/api/v1/order/accountLog",//获取充值配置
			//提现
			api_v1_order_drawMoney: "/api/v1/order/drawMoney",//提现
			api_v1_order_googleRecharge: "/api/v1/order/googleRecharge",//发起google支付
			api_v1_order_googleNotify: "/api/v1/order/googleNotify",//google支付回调
			
		}
	},
	mutations: {
		SET_BREADCRUMB: (state, breadcrumb) => {
			state.breadcrumb = breadcrumb
		},
	},
	actions: {
		SET_BREADCRUMB({
			commit
		}, userInfo) {
			return new Promise((resolve, reject) => {
				commit('SET_BREADCRUMB')
				resolve()
			})
		}
	}
}

export default api
